package com.ruoyi.tester.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接口调用日志对象 tester_interface_call_log
 *
 * @author SJ
 * @date 2022-04-26
 */
public class TesterInterfaceCallLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 接口调用日志id */
    private Long interfaceCallLogId;

    /** 任务调用日志id */
    @Excel(name = "任务调用日志id")
    private Long taskCallLogId;

    /** 接口id */
    @Excel(name = "接口id")
    private Long interfaceId;

    /** 接口描述 */
    @Excel(name = "接口描述")
    private String interfaceDesc;

    /** http方式 */
    @Excel(name = "http方式")
    private String httpMethod;

    /** 实际url */
    @Excel(name = "实际url")
    private String finalUrl;

    /** 实际query参数 */
    @Excel(name = "实际query参数")
    private String queryParam;

    /** 实际body参数 */
    @Excel(name = "实际body参数")
    private String bodyParam;

    /** headers */
    @Excel(name = "headers")
    private String headers;
    /** headers */
    @Excel(name = "contentType")
    private String contentType;

    /** 返回状态 */
    @Excel(name = "返回状态")
    private String status;

    /** 判定表达式 */
    @Excel(name = "判定表达式")
    private String judgeExpression;

    /** 返回结果 */
    @Excel(name = "返回结果")
    private String response;

    /** 返回headers */
    @Excel(name = "返回headers")
    private String responseHeaders;

    /** 异常消息 */
    @Excel(name = "异常消息")
    private String exception;

    public void setInterfaceCallLogId(Long interfaceCallLogId)
    {
        this.interfaceCallLogId = interfaceCallLogId;
    }

    public Long getInterfaceCallLogId()
    {
        return interfaceCallLogId;
    }
    public void setTaskCallLogId(Long taskCallLogId)
    {
        this.taskCallLogId = taskCallLogId;
    }

    public Long getTaskCallLogId()
    {
        return taskCallLogId;
    }
    public void setInterfaceId(Long interfaceId)
    {
        this.interfaceId = interfaceId;
    }

    public Long getInterfaceId()
    {
        return interfaceId;
    }
    public void setInterfaceDesc(String interfaceDesc)
    {
        this.interfaceDesc = interfaceDesc;
    }

    public String getInterfaceDesc()
    {
        return interfaceDesc;
    }
    public void setHttpMethod(String httpMethod)
    {
        this.httpMethod = httpMethod;
    }

    public String getHttpMethod()
    {
        return httpMethod;
    }
    public void setFinalUrl(String finalUrl)
    {
        this.finalUrl = finalUrl;
    }

    public String getFinalUrl()
    {
        return finalUrl;
    }

    public String getQueryParam() {
        return queryParam;
    }

    public void setQueryParam(String queryParam) {
        this.queryParam = queryParam;
    }

    public void setBodyParam(String bodyParam)
    {
        this.bodyParam = bodyParam;
    }

    public String getBodyParam()
    {
        return bodyParam;
    }
    public void setHeaders(String headers)
    {
        this.headers = headers;
    }

    public String getHeaders()
    {
        return headers;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getStatus()
    {
        return status;
    }
    public void setJudgeExpression(String judgeExpression)
    {
        this.judgeExpression = judgeExpression;
    }

    public String getJudgeExpression()
    {
        return judgeExpression;
    }
    public void setResponse(String response)
    {
        this.response = response;
    }

    public String getResponse()
    {
        return response;
    }

    public String getResponseHeaders() {
        return responseHeaders;
    }

    public void setResponseHeaders(String responseHeaders) {
        this.responseHeaders = responseHeaders;
    }

    public String getException() {
        return exception;
    }

    public void setException(String exception) {
        this.exception = exception;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("interfaceCallLogId", getInterfaceCallLogId())
            .append("taskCallLogId", getTaskCallLogId())
            .append("interfaceId", getInterfaceId())
            .append("interfaceDesc", getInterfaceDesc())
            .append("httpMethod", getHttpMethod())
            .append("finalUrl", getFinalUrl())
            .append("queryParam", getQueryParam())
            .append("bodyParam", getBodyParam())
            .append("headers", getHeaders())
            .append("contentType", getContentType())
            .append("status", getStatus())
            .append("judgeExpression", getJudgeExpression())
            .append("response", getResponse())
            .append("responseHeaders", getResponseHeaders())
            .append("exception", getException())
            .append("createTime", getCreateTime())
            .toString();
    }
}
